package com.ydh.company.service;

import com.ydh.company.pojo.OrderDetails;
import com.ydh.company.pojo.OrderMain;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @Auther 周晓东
 * @Date 2020/5/5
 */
public interface OrderService {
    /**
     * 增加订单的service接口
     * @param orderDetails
     */
    void addOrder(OrderDetails orderDetails);

    List<OrderMain> queryOrder(Integer page,Integer persize);

}
